package com.neo4j.neo4jcloud.service;

import com.neo4j.neo4jcloud.entity.SupplyRelationShip;
import java.util.List;

/**
 * @author kabuqinuo
 * @date 2020/3/26 14:08
 */
public interface SupplyRelationShipService {

    SupplyRelationShip addSupplyRelationShip(SupplyRelationShip supplyRelationShip);

    SupplyRelationShip findOneBySupplyRelationShipId(Long id);

    void deleteOneBySupplyRelationShipId(Long id);

    Iterable<SupplyRelationShip> findAllSupplyRelationShip();

    List<SupplyRelationShip> findAllSupply();

    List<SupplyRelationShip> findASupplyByNodeId(String nodeId);

    List<SupplyRelationShip> findByNodeId(String nodeId);

    void makeDataBySupplyRelationShip();

    void makeDataMoreBySupplyRelationShip();
}
